package edu.nbut.hotel.model.entity.pojo;

import edu.nbut.hotel.model.enums.Authority;

public class Manager {
    private int id;
    private String userName;
    private String password;
    private String name;
    private String other;
    private Authority authority;

    public Manager() {

    }

    public Manager(String userName, String password, String name, String other, Authority authority) {
        this.userName = userName;
        this.password = password;
        this.name = name;
        this.other = other;
        this.authority = authority;
    }

    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Authority getAuthority() {
        return authority;
    }

    public void setAuthority(Authority authority) {
        this.authority = authority;
    }
}
